import Vue from 'vue'
import 'normalize.css/normalize.css'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import router from './router';
import VueRouter from 'vue-router';
import './assets/fonts/iconfonts/iconfont.css';
// import store from './store';
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VueRouter);
new Vue({
  router,
  // store,
  render: h => h(App),

  beforeCreate() {//带数据代理没有完成
    Vue.prototype.$bus = this//安装全局事件总线，$bus就是当前的vm实例
  }
}).$mount('#app')
